package com.entity;

import java.io.Serializable;
import java.util.List;

public class Category implements Serializable {
	private Integer categoryId;
	private String categoryName;
	private Integer count;
	private Integer parentId;
	private List<Category> category;
	public Category() {
		super();
	}
	public Category(Integer categoryId, String categoryName, Integer count,
			Integer parentId) {
		super();
		this.categoryId = categoryId;
		this.categoryName = categoryName;
		this.count = count;
		this.parentId = parentId;
	}
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public List<Category> getCategory() {
		return category;
	}
	public void setCategory(List<Category> category) {
		this.category = category;
	}
	@Override
	public String toString() {
		return "Category [categoryId=" + categoryId + ", categoryName="
				+ categoryName + ", count=" + count + ", parentId=" + parentId
				+ ", category=" + category + "]";
	}

}
